<template>
  <div>
    <div>
      <h4>颈椎评分</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="6">
          <div>
            <el-button type="primary">填写《颈椎评分表》</el-button>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <el-input v-model="pgForm.jzpf_input1" placeholder="" readonly style="width: 30%;"></el-input>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="12">
          <div>
            <el-input  v-model="pgForm.jzpf_input2" placeholder="评定者" style="width: 40%"></el-input>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "cervical_score",
  title:'颈椎评分',
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm:{
        jzpf_input1:'',
        jzpf_input2:'',
      }
    }
  },
}
</script>

<style scoped>

.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}

</style>
